Containers running within the container platform must execute as non-privileged. When a container can execute as a privileged container, the privileged container is also a privileged user within the hosting system, and the hosting system becomes a major security risk. It is important for the container platform runtime to validate the container user and disallow instantiation if the container is trying to execute with more privileges than required, as a privileged user, or is trying to perform a privilege escalation.
When privileged access is necessary for a container, a new policy for execution should be written for the container. The default behavior must not give containers privileged execution.
Examples of privileged users are root, admin, and default service accounts for the container platform. |